﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;
using System.Collections;

namespace Meqs.Logic.Interface
{
    public interface ISecuritySettingLogic : ICommonLogic<SecuritySetting, int>
    {
        int GetOperatorSecurityValue(Hashtable ht);
        int GetViewSecurityValue(Hashtable ht);
        IList<TeacherRoles> FindTeacherRoles(Hashtable ht);
        IList<ClsInfo> FindClsinfo(Hashtable ht);
        IList<TeachClsCause> FindTeachClsCause(Hashtable ht);

        /// <summary>
        /// 获取用户拥有的权限
        /// </summary>
        /// <param name="schoolMark"></param>
        /// <param name="schoolYear"></param>
        /// <param name="term"></param>
        /// <param name="teacherId"></param>
        /// <param name="securityId"></param>
        /// <returns></returns>
        IList<SecuritySetting> GetUserSecurityValue(string schoolMark, int schoolYear, int term, int teacherId,
                                                    int securityId);

    }
}
